﻿using System;
namespace CoreEx.Common.Cache
{
    /// <summary>
    /// Represents an object that has a life span.
    /// </summary>
    public interface ILifeSpan
    {
        /// <summary>
        /// Gets or sets a <see cref="TimeSpan"/> value that indicates the life span.
        /// </summary>
        TimeSpan LifeSpan { get; set; }
    }
}
